#ifndef MEASURERESULTPAGE_H
#define MEASURERESULTPAGE_H

#include <QWidget>
#include "Beans/userinfobeab.h"
#include "Charts/mesureresultpagecharts.h"
#include "Beans/databeans.h"

namespace Ui {
class MeasureResultPage;
}

class MeasureResultPage : public QWidget
{
    Q_OBJECT

public:
    explicit MeasureResultPage(QWidget *parent = nullptr);
    ~MeasureResultPage();
    void setBg();
    int getIndexLen(QList<double>ranger, double indexv,bool flag);

private slots:
    void on_bt_Exit_clicked();

    void getUserInfoFromMeasure(UserInfoBeab uib);
    void on_pushButton_SL_clicked();

    void on_pushButton_HRV_clicked();

    void on_pushButton_MentalPressure_clicked();

    void on_pushButton_Ans_clicked();

    void on_bt_Print_clicked();

    void on_pushButton_Vascular_clicked();



private:
    Ui::MeasureResultPage *ui;
    MesureResultPageCharts mrpc;
    DataBeans dbs;
    QString printType;
};

#endif // MEASURERESULTPAGE_H
